<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>


    
    <style>
        *{margin: 0; padding: 0;}
        #div1{width: 100px; height: 30px; margin: 50px auto;border: black solid 1px; position: relative;}
        ul{width: 100px; list-style: none; border: black solid 1px; position: absolute; top: 30px; display: none; background:white;left: -1px;}

        #div1:hover ul{
            display: block;
        }
        p{text-align: center;}

        li:hover {
            background: gray;
        }


    </style>



</head>
<body>

    
    <div id="div1">
        卖家中心
        <ul>
            <li>测试1</li>
            <li>测试2</li>
            <li>测试3</li>
            <li>测试4</li>
        </ul>

        
    </div>

    <p>哈好舒服安生发送到发多少说的</p>
    
</body>
</html>